package luyangzuoye.zuoye4.demos.web.service;

import luyangzuoye.zuoye4.demos.web.entity.Book;

import java.util.List;

public interface BookService {
    List<Book> findAll();

    Book findById(Long id);

    void save(Book book);

    void update(Book book);

    void deleteById(Long id);

    List<Book> findByTitle(String title);

    String getPublisherNameById(Long id);

    List<String> findAuthorList();
}